import request from '@/utils/request'
// 获取轮播
export function getBanner(data) {
  return request({
    url: '/banner/getBanner',
    method: 'get',
    params: data
  })
}
// 设置轮播图
export function updateBanner(data) {
  return request({
    url: '/banner/updateBanner',
    method: 'post',
    data
  })
}
